<?php



class ListInvoiceTermsMapBuilder implements MapBuilder {

	
	const CLASS_NAME = 'lib.model.map.ListInvoiceTermsMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap(ListInvoiceTermsPeer::DATABASE_NAME);

		$tMap = $this->dbMap->addTable(ListInvoiceTermsPeer::TABLE_NAME);
		$tMap->setPhpName('ListInvoiceTerms');
		$tMap->setClassname('ListInvoiceTerms');

		$tMap->setUseIdGenerator(false);

		$tMap->addPrimaryKey('IDEN', 'Iden', 'VARCHAR', true, 20);

		$tMap->addColumn('TERM', 'Term', 'VARCHAR', true, 50);

		$tMap->addColumn('DAYS', 'Days', 'INTEGER', true, 10);

	} 
} 